.new-expense {
  height: calc(100vh - 70px);
  width: 100%;
  position: relative;
  box-sizing: border-box;
  margin-left: -5px;
  width: calc(100% + 60px)\0;
  .expense-container {
    -webkit-transition: left .5s;
    -moz-transition: left .5s;
    -ms-transition: left .5s;
    -o-transition: left .5s;
    transition: left .5s;
    overflow-x: hidden;
    -ms-overflow-x: hidden;
    width: 200%;
    .didiNoInvoice {
      background-color: #F7F8FA;
      height: 40px;
      line-height: 40px;
      padding-left: 16px;
      color: rgba(0, 0, 0, 0.65);
      font-size: 14px;
      margin-bottom: 23px;
    }
    &.page-type, &.page-card {
      position: absolute;
      left: 0;
      height: 100%;

      .expense-form {
        opacity: 0;
      }
    }

    .expense-container-row {
      height: calc(100vh - 70px);
      overflow-y: scroll;
    }

    &.page-card {
      height: 100%;

      .expense-type {
        height: 100%;;
        padding-bottom: 0;
      }

      .expense-type-box {
        // overflow: hidden;
      }
    }

    &.page-form {
      height: 100%;
      position: absolute;
      left: -100%;

      .expense-type {
        opacity: 0;
      }

    }

    .expense-type, .expense-form {
      box-sizing: border-box;
      overflow: hidden;
      padding-bottom: 60px;
    }

    .expense-type-box, .expense-form-box {
      box-sizing: border-box;
      overflow-x: hidden;
      margin-right: -15px;
      height: 100%;
    }

    .expense-form-box {
      & > .tip-wrap {
        padding: 0 15px 24px;

        .ant-alert {
          margin-top: 10px;
        }
      }
    }

    .expense-type {
      height: 100%;
    }

    .expense-form {
      height: 100%;

      .expense-type-container {
        width: 100%;
        position: relative;
        height: 100%;
        margin-bottom: 30px;
        .add-business-card {
          width: 80%;
          margin-left: 10%;
          height: 70px;
          line-height: 70px;
          border: 1px dashed #959595;
          color: #959595;
          box-sizing: content-box;
          margin-bottom: 24px;
          text-align: center;
          cursor: pointer;

          &:hover {
            border: 1px dashed $default-color;
            color: $default-color;
          }
        }

        .expense-card {
          position: relative;
          height: 60px;
          box-sizing: border-box;
          padding-left: 60px;
          padding-right: 14px;
          color: #666;
          font-size: 12px;
          line-height: 16px;
          cursor: pointer;

          .ant-card-body {
            padding: 14px 0;
          }

          img {
            width: 32px;
            height: 32px;
            top: 14px;
            left: 14px;
            position: absolute;
          }

          .expense-name {
            line-height: 32px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
        }

        .rate-description {
          font-size: 12px;
        }

        .vat-invoice-area {
          width: 80%;
          margin-left: 10%;
          border: 1px solid rgba(217, 217, 217, 1);
          padding: 10px 20px 0;
          margin-bottom: 24px;

          .invoice-info {
            height: 20px;
            line-height: 20px;
            text-align: right;
            color: $default-color;
            cursor: pointer;
          }

          .test-info {
            line-height: 20px;
            white-space: normal;
          }

          .ant-form-item {
            margin-bottom: 12px;

            .ant-input-disabled {
              background: white;
              border: none;
            }
          }
        }

        .expense-read-only {
          .expense-read-only-base {
            margin-bottom: 20px;

            .audit-edit-link {
              margin-left: 10px;
              font-size: 12px;
              font-weight: 400;
            }
          }

          .expense-type-img {
            height: 32px;
            width: 32px;
          }

          .expense-type-img[src=""], .expense-type-img:not([src]) {
            opacity: 0;
          }

          .expense-type-name, .expense-type-amount {
            font-size: 18px;
            color: #666666;
            font-weight: 700;
          }

          .expense-rate-description {
            color: #D2A98C;
            font-size: 12px;
            line-height: 15px;
            clear: both;
          }

          .expense-rate-edit-description {
            background-color: lightyellow;
          }

          .read-only-invoice-area {
            width: 60%;
            margin-left: 20%;
            box-shadow: 0 0 5px 1px $form-border;
            border-radius: 10px;
            margin-top: 24px;
            margin-bottom: 24px;
          }

          .ant-form-item {
            line-height: 1;
            margin: 5px 0;
            font-size: 12px;
          }

          .attachment-block {
            width: 70px;
            height: 70px;
            padding: 5px;
            box-sizing: border-box;
            box-shadow: 0 0 3px 1px #e9e9e9;
            border-radius: 5px;
            margin-bottom: 20px;
            margin-right: 10px;
            cursor: pointer;
            text-align: center;

            img {
              max-height: 100%;
              max-width: 100%;
            }
          }
        }
      }
    }

    .expense-subsidy-table {
      margin-top: 10px;
      width: 98%;

      .repeat-subsidy-item {
        background: #FBF1F6;
        color: #CB5091;
      }

      .ant-table-pagination.ant-pagination {
        margin-right: 20px;
      }
    }
  }

  .footer-operate {
    position: absolute;
    left: -15px;
    width: calc(100% + 30px);
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-top: 1px solid #e9e9e9;
    box-shadow: none;
    background: #FFFFFF;


    button {
      margin-right: 8px;
    }

    .footer-page {
      float: right;
    }
  }

  .chooser>div>input {
    padding: 0\0;
    border: none\0;
  }

  .add-invoice-disabled {
    color: $font-disabled;
    cursor: not-allowed;
  }
}
